import Vue from 'vue'
import Vuex from 'vuex'

// 导入小仓库
import moudlecart from '@/store/cart.js'
import moudleuser from '@/store/user.js'

Vue.use(Vuex)

const store = new Vuex.Store({
	modules:{
		'm_cart':moudlecart,
		'm_user':moudleuser,
	}
})

export default store